home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 408_01 / upgrade.doc < prev   
Text File  |  1993-08-06  |  4KB  |  140 lines

  1.                     UPGRADING INSTRUCTIONS FOR SNEWS V1.91
  2.                     ======================================
  3.  
  4.  
  5. UPGRADING FROM V1.08 THROUGH V1.90 TO V1.91 OR GREATER
  6. ======================================================
  7. Commands shown are examples and may differ from the commands required on
  8. your system.
  9.  
  10.   1. Delete
  11.        - snews.exe
  12.        - unbatch.exe
  13.        - expire.exe
  14.        - addgroup.exe
  15.        - rmgroup.exe
  16.  
  17.   2. Copy the above list of NEW .exe files from the distribution archive
  18.      to whereever the old ones were.
  19.  
  20.         UNZIP SNEWS191 *.exe
  21.  
  22.   3. Make a backup copy of your ACTIVE file in case something goes wrong
  23.      during this step.
  24.  
  25.         COPY ACTIVE ACTIVE.BAK
  26.  
  27.      Next, use a text editor to change the last column in the ACTIVE file.
  28.      All newsgroups appearing in your NG file should have "y" appearing last
  29.      on the line.  All other newsgroups should have "n".  At this stage, you
  30.      could change the moderated newsgroups to "m" instead of "n" for
  31.      compatibility with future versions of SNews.
  32.  
  33.      Now, delete your NG file -- it is no longer required.
  34.  
  35.      WARNING: be careful editing your ACTIVE file.  Change only the letter
  36.      in the last column.  Changing anything else could render your newsbase
  37.      unusable.  News groups should be added with addgroup, which has new
  38.      options to set up moderated and non-postable groups.
  39.  
  40.   4. Move your user.NRC file to your home directory and call it SNEWS.NRC
  41.  
  42.         MOVE \uupc\news\user.NRC \user\SNEWS.NRC
  43.  
  44.       or
  45.  
  46.         COPY \uupc\news\user.NRC \user\SNEWS.NRC
  47.         DEL \uupc\news\user.NRC
  48.  
  49.   5. Use a text editor to change the color lines in your uupc.rc file.  The
  50.      old format looked like this:
  51.  
  52.     color msgf blu
  53.  
  54.      The new format is like this:
  55.  
  56.     colormsgf=blu
  57.  
  58.  
  59.   6. Use of the environment variable UUPCUSRRC has been restored, so SNEWSRC
  60.      is now optional if UUPCUSRRC is valid.
  61.  
  62.  
  63.                             ----------------------
  64.  
  65.  
  66. UPGRADING FROM V1.06 AND BELOW TO V1.08 OR GREATER
  67. ==================================================
  68.  
  69.   1. Delete
  70.        - snews.exe
  71.        - unbatch.exe
  72.        - expire.exe
  73.        - addgroup.exe
  74.        - rmgroup.exe
  75.        - compress.exe
  76.  
  77.   2. Delete your entire news database (sorry folks).
  78.        - delete all the article files
  79.        - delete all the directory tree.
  80.  
  81.   3. Copy the above list of NEW .exe files from the distribution archive
  82.      to where ever the old ones were.
  83.  
  84.   3a) When installing version 1.90 or greater of SNews, you must create
  85.      a SNEWSRC variable in DOS. This should be in the same format as
  86.      your UUPCUSRRC variable:
  87.                 set SNEWSRC=E:\uupc\snews.rc
  88.  
  89.      Now create a SNEWS.RC file. The easiest way is to copy the
  90.      PERSONAL.RC file to SNEWS.RC, then see the docs on how to
  91.      customise this file.
  92.  
  93.  
  94.   4. Rename your active file.  You will be making a new one
  95.  
  96.        REN ACTIVE ACTIVE.OLD
  97.  
  98.  
  99.   5. Copy the active file as a bat file.
  100.  
  101.        COPY ACTIVE.OLD JUNK.BAT
  102.  
  103.  
  104.   6. Delete all the numbers etc to the right of the newsgroup names, should
  105.      look like:
  106.  
  107.        alt.sources
  108.        alt.sources.d
  109.        nz.archives
  110.  
  111.  
  112.   7. Insert the string 'addgroup ' before each newsgroup name
  113.  
  114.        addgroup alt.sources
  115.        addgroup alt.sources.d
  116.        addgroup nz.archives
  117.  
  118.  
  119.   8. Run the bat file to create the new active file
  120.  
  121.         JUNK
  122.  
  123.  
  124.   9. Have a cup of tea, this take a few minutes.  Check that the active
  125.       file looks like this:
  126.  
  127.        alt.sources 87297268 00000000 00000000 y
  128.        alt.sources.d 87297275 00000000 00000000 y
  129.        alt.sources.index 87297281 00000000 00000000 y
  130.        alt.sources.patches 87297287 00000000 00000000 y
  131.  
  132.  
  133.  10. All should be go - try processing a newsbatch
  134.  
  135.  
  136. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> WARNING <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
  137.  
  138. NEVER change the active file with and editor.  Use 'addgroup' and rmgroup'
  139. to maintain the active file.
  140.